package com.bupt.ilink.service.bailian;

import com.aliyun.bailian20231229.models.RetrieveResponse;

public interface RetrieveService {
    RetrieveResponse retrieve(com.aliyun.bailian20231229.Client client, String query, Integer denseSimilarityTopK, Boolean enableReranking, Boolean enableRewrite, String rerankModelName,
                              Float rerankMinScore, Integer rerankTopN, String rewriteModelName, Integer sparseSimilarityTopK, String indexId,
                              String workspaceId, Boolean saveRetrieverHistory) throws Exception;
    RetrieveResponse retrieve(com.aliyun.bailian20231229.Client client, String query, String indexId, String workspaceId) throws Exception;
}
